//
//  PublicationTopicViewController.h
//  安好
//
//  Created by rlp on 14-12-3.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GroupUserModel.h"
#import "AFURLSessionManager.h"

#import "ImageListView.h"
#import "MJPhotoBrowser.h"
#import "MJPhoto.h"

@protocol PublicationTopicViewControllerDelegate <NSObject>
/**
 *  这个呆梨方法是发表完话题跳转到帖子列表数据刷新用的
 */
-(void)publicationTopicViewControllerWirhReloadData;

@end

@interface PublicationTopicViewController : BaseViewController<UITextFieldDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UIActionSheetDelegate,ImageViewsDelegate>
@property (strong, nonatomic)GroupUserModel*groupUserModel;
@property (weak, nonatomic) IBOutlet UITextField *subject;//标题
@property (weak, nonatomic) IBOutlet UITextView *massage;//内容

@property (strong, nonatomic)NSMutableArray *imageArr;//图片数组
@property (weak, nonatomic) IBOutlet UITextView *contentTextView;
@property (weak, nonatomic) IBOutlet UIButton *cameraBtn;//相机button
- (IBAction)cameraClick:(id)sender;//相机点击事件
@property (weak, nonatomic) IBOutlet UIView *contentView;

@property (strong,nonatomic)IBOutlet ImageListView *imageListView;
@property (assign,nonatomic)id<PublicationTopicViewControllerDelegate>delegate;




@end
